﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telphone=no, email=no, address=no">
<meta name="msapplication-tap-highlight" content="no">
<meta http-equiv="Cache-Control" content="no-cache">
<title>采集开关</title>
<script type="text/javascript">

var docEl = document.documentElement;
var docW = docEl.clientWidth < 415 ? docEl.clientWidth : 414;
docEl.style.fontSize = docW / 7.5 + 'px';
</script>
<style type="text/css">
body , html { color:#666; height:100%; font-family:"Myriad Set Pro","Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; line-height:24px; font-size:0.96rem; font-size:16px; }
* { -webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;}
button , input { -webkit-tap-highlight-color:transparent; }
button , input  { margin:0; color:inherit; outline:0; }
form { width:100%; }
h1 { font-size:16px; font-weight:normal; text-align:center; background:#e62129; padding:5px 0; color:#ffffff; }
dl {display: flex; align-items: center; justify-content: flex-start; width:80%; margin:0 10%; border-bottom:1px solid #f1f1f1; padding:12px 0; }
dt { width:200px; color:#000000; }
dd {flex:1;}
.submit { border:1px solid #e62129; margin:0 20%; border-radius:10px; padding:10px 0; background:#fff; font-size:16px; font-weight:bold; color:#e62129; width:60%; resize:none; }
.radio-label { margin-right:20px;}
.radio {

}
.radio input[type="radio"] {
  position: absolute;
  opacity: 0;
}
.radio input[type="radio"] + .radio-label:before {
  content: '';
  background: #f4f4f4;
  border-radius: 100%;
  border: 1px solid #b4b4b4;
  display: inline-block;
  width: 20px;
  margin-right:5px;
  height: 20px;
  position: relative;
  vertical-align: top;
  cursor: pointer;
  text-align: center;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
}
.radio input[type="radio"]:checked + .radio-label:before {
  background-color: #e62129;
  box-shadow: inset 0 0 0 4px #f4f4f4;
}
.radio input[type="radio"]:focus + .radio-label:before {
  outline: none;
  border-color: #e62129;
}
.radio input[type="radio"]:disabled + .radio-label:before {
  box-shadow: inset 0 0 0 4px #f4f4f4;
  border-color: #b4b4b4;
  background: #b4b4b4;
}
.radio input[type="radio"] + .radio-label:empty:before {
  margin-right: 0;
}
</style>
</head>

<body>

<form method="post">
	<h1>公众号抓取</h1>
    @foreach($lists as $item)
        <dl>
            <dt>公众号：{{$item['title']}}</dt>
            <dd class="radio">
                <input type="radio" name="{{$item['fakeid']}}" id="{{$item['fakeid']}}_1" value="1" @if($item['status']===1) checked @endif/>
                <label for="{{$item['fakeid']}}_1" class="radio-label">开</label>
                <input type="radio" name="{{$item['fakeid']}}" id="{{$item['fakeid']}}_0" value="0" @if($item['status']===0) checked @endif/>
                <label for="{{$item['fakeid']}}_0" class="radio-label">关</label>
            </dd>
        </dl>
    @endforeach



    {{--<h1>公告抓取</h1>
    <dl>
		<dt>巨潮资讯</dt>
		<dd class="radio">
			<input type="radio" name="cninfo" id="cninfo_1" value="enabled" />
			<label for="cninfo_1" class="radio-label">开</label>
			<input type="radio" name="cninfo" id="cninfo_0" value="disabled" />
			<label for="cninfo_0" class="radio-label">关</label>
		</dd>
	</dl>
	<dl>
		<dt>证监会</dt>
		<dd class="radio">
			<input type="radio" name="csrc" id="csrc_1" value="enabled" />
			<label for="csrc_1" class="radio-label">开</label>
			<input type="radio" name="csrc" id="csrc_0" value="disabled" />
			<label for="csrc_0" class="radio-label">关</label>
		</dd>
	</dl>
	<dl style="margin-bottom:20px;">
		<dt>东方财富</dt>
		<dd class="radio">
			<input type="radio" name="eastmoney" id="eastmoney_1" value="enabled" />
			<label for="eastmoney_1" class="radio-label">开</label>
			<input type="radio" name="eastmoney" id="eastmoney_0" value="disabled" />
			<label for="eastmoney_0" class="radio-label">关</label>
		</dd>
	</dl>--}}
	<input type="submit" value="保存" class="submit" />
</form>


</body>
</html>
